Latest Questions

Point custom Domain to the google cloud function through global https loadbalancer with serverless NEG as backend

I had a running myfunctionname cloud function with HTTP trigger URL: For Ex- https://us-central1-my-project.cloudfunctions.net/myfunctionname Now I want to map

How to create a void method that outputs an integer and have the method divide the data passed to it by 2?

I'm really brand new at this and still learning C#. I've had a hard time trying to look for a good example to the assignment I'm working on. So you can see exac

How do I find the best possible combination which gives the cheapest price

The tickets are: One adult ($20) One child (one adult can only bring two children/children are not allowed to go by themselves) ($12) One senior ($16) Family ti

How to configure PyCharm for automatic code completion without ^space?

When typing in PyCharm, I used to automatically get code-completion suggestions without having to hit Ctrl+Space. I must have accidentally (not sure how) change

PHP fmod returns the dividend not remainder

This returns 50727.64 instead of the expected 0.489 fmod((float)50727.64, (float)103680); Is this because the normal division only returns a decimal? This code

Trying to open .xlsx file from sharepoint, tries to open it in MS Word instead

A user is trying to open an excel file (.xlsx) (using Open in App instead of in browser) from their Sharepoint site, but system tries to open it up in MS Word i

Execution failed for task ':camera:compileDebugJavaWithJavac'

I have created a new flutter project and added camera plugin. after adding that dependency I got many errors. I used futter version is 2.5.2 & minSdkVersion

Filter all row with the same foreign key when a those column is null in laravel

i have table schema in mysql for my project. this project build with laravel and as you can see in the below image i want to fillter all row with the same store

Does esbuild provide a feature like the resolve.alias option in webpack?

Does esbuild provide a feature like the resolve.alias option in webpack? const path = require('path'); module.exports = { //... resolve: { alias: {

How can I solve a circular dependency error... from data in a same column?

In Microsoft Excel I am considering columns and cells to make specific sums in a calculated column, here's an image as an example where the column "G" is where

Neo4J - How to query a graph and get the result as a tree with duplicates?

I`m working on a prototype of a community and have 4 nodes that are related as the image below. sample data: MERGE (a:User{key: 1}) MERGE (b:Tags{key: 2}) MERG

IDX10501: Signature validation failed. Unable to match key: kid

We want to switch our web apps to using Azure AD for authentication. I'm using the example at: https://github.com/Azure-Samples/ms-identity-aspnet-webapp-openid

Ubuntu pyautogui .screenshot() returns blackscreen image

Im trying to verify the location of some icons on the screen using .screenshot() function of pyautogui due to it always return None when using .locateOnScreen()

Which key failed in Python KeyError?

If I catch a KeyError, how can I tell what lookup failed? def poijson2xml(location_node, POI_JSON): try: man_json = POI_JSON["FastestMan"] woman_json

Question about faceapi.detectAllFaces return

Good afternoon. I'm using faceapi.detectAllFaces. I need to know if, indeed, a face was detected or if the video was without any face. When I return the content

Use both enzyme and react-testing-library

So, we started implementing testing in our app, I used enzyme and my coworkers used react-testing-library. Of course the setupTests.js file is different so eith

How to get the information of DeclRefExpr from the basic block in Clang:CFG?

How to get the information of DeclRefExpr from the basic block in Clang:CFG? This is code i have coded class CFGPrinter : public MatchFinder::MatchCallback { pu

Error in gitlab-ci when trying to use hashicorp/dir/template module

I'm getting the error that base_dir is an invalid argument. But according to the documentation on the hashicorp repo, it's a required string. Here's my main.tf:

Read many parquet files from S3 to pandas dataframe

I've been researching this topic for a few days now and have yet to come up with a working solution. Apologies if this question is repetitive (although I have c

How to use passed schema name dynamically in a function?

I have function called list_customers, taking i_entity_id, i_finyear as input params. The schema name is built from i_finyear, I need to execute the query based

How can i add React loading spinner when item is fetching from database?

Here is, my code. i want to add a spinner when data is loading then after finish loading display the data. {/* product section */} <section className="c

`Task` blocks main thread when calling async function inside

I have an ObservableObject class and a SwiftUI view. When a button is tapped, I create a Task and call populate (an async function) from within it. I thought th

How to detect the number of grouped data based on their frequency

I have a vector of numbers x <- c(1,1,1,3,3,3,2,2,1,2,1,2,55,56,55,54,55,54,53,55,56,55,7,7,9,9,8,8,11,110,111,11,112,113,111,112,33) if I plot x, hist(x)

GCP PubSub java client's Publisher - concurrency not working Multi threaded environement

I am trying to consume messages from Kafka and publish them to Google PubSub. We have 4 Kafka concurrent consumer threads and I injected the Google pubsub clien

React Redux Problem: How to call multiple api in your react component with React Redux Toolkit RTK queries?

Hope you all are doing fine. RTK queries return response in data attribute which can be accessed via hook generated by RTK My Code: const {data = [], isFetching

Navigation Drop Down Covers Hero Image

My drop down navigation in the 1st and 2nd media queries just cover the hero image instead of pushing the hero image down, also the width of the drop down is su

How to extract attachements from a PDF in nodejs

I have limited knowledge in handling PDF:s and I need to extract an attached file from a PDF.

Selenium RemoteWebDriver Usage Example (How to fix selenium.WebDriverException: chrome not reachable)

Not exactly as Chrome not reachable Selenium WebDriver error selenium.WebDriverException: chrome not reachable selenium.WebDriverException: chrome not reachable

Why is SetActive not working in my script?

A new problem has just appeared in my code. In OnTriggerEnter i'm testing if the player collides with the obstacle. When I tell the script to display a message

Listing screen sessions cause errors - Raspberry Pi

I am connected to a Raspberry Pi through SSH on my MacBook. Within the SSH, I have used the screen command to create two detached instances of the shell, one in